//打开模态窗口 //url:路径 //width:宽度 //height:高度
function OpenModelWindow(url, width, height) {
    var left = (window.screen.width - width) / 2;
    var top = (window.screen.height - height) / 2;
    var parmars = 'dialogTop=' + top + 'px;dialogLeft=' + left + 'px;center=yes;resizable=no;dialogHeight=' + height + 'px;dialogWidth=' + width + 'px;status=no;';
    var returnValue = false;
    returnValue = window.showModalDialog(url, null, parmars);
    return returnValue;
}